package cn.tedu.tedutest02202.pojo.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class EmailUpdateDTO implements Serializable {
    @NotNull(message = "必须填写邮箱！")
    private String email;
    @NotNull(message = "必须填写密码！")
    private String password;
    @NotNull(message = "必须填写用户名！")
    private String username;
    private String nickname;
}
